import { Inject, Provide } from '@midwayjs/decorator';
import { HttpService } from '@midwayjs/axios';
@Provide()
export class BookService {
  @Inject()
  httpService: HttpService;

  async getBookById() {
    // const url = 'http://www.weather.com.cn/data/cityinfo/101010100.html';
    // const result = await this.httpService.get(url);
    // console.log(result);
    return 'hello world';
  }
}
